#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
char* my_strcpy(char* dest, const char* src)
{
    char* ret = dest;
    while ((*dest++ = *src++))
    {
        ;
    }
    return ret;
}
int main()
{
    char dest = "abcdf";
    char src[20];
    my_strcpy(dest, src);
    printf("%s\n", dest);
    return 0;
}